<template>
	<view class="page-body">
		<!-- 页面内容开始 -->
		<getUserCount></getUserCount>
		<el-row>
			<el-col :span="24">
				<getNewUserCountGroup></getNewUserCountGroup>
			</el-col>
		</el-row>
		<el-row>
			<el-col :span="8">
				<getVipLvCountGroup></getVipLvCountGroup>
			</el-col>
			<el-col :span="8">
				<getFxLvCountGroup></getFxLvCountGroup>
			</el-col>
			<el-col :span="8">
				<getUserGenderCountGroup></getUserGenderCountGroup>
			</el-col>
		</el-row>

		<el-row>
			<el-col :span="24">
				<getUserLoginCountGroup></getUserLoginCountGroup>
			</el-col>
		</el-row>

		<!-- 页面内容结束 -->
	</view>
</template>

<script>
var that; // 当前页面对象
var vk = uni.vk; // vk实例
import getUserCount from "@/pages/stats/components/user/getUserCount"
import getNewUserCountGroup from "@/pages/stats/components/user/getNewUserCountGroup"
import getVipLvCountGroup from "@/pages/stats/components/user/getVipLvCountGroup"
import getFxLvCountGroup from "@/pages/stats/components/user/getFxLvCountGroup"
import getUserGenderCountGroup from "@/pages/stats/components/user/getUserGenderCountGroup"
import getUserLoginCountGroup from "@/pages/stats/components/user/getUserLoginCountGroup"


export default {
	components:{
		getUserCount,
		getNewUserCountGroup,
		getVipLvCountGroup,
		getFxLvCountGroup,
		getUserGenderCountGroup,
		getUserLoginCountGroup
	},
	data() {
		// 页面数据变量
		return {

		};
	},
	// 监听 - 页面每次【加载时】执行(如：前进)
	onLoad(options = {}) {
		that = this;
		vk = that.vk;
		that.options = options;
		that.init(options);
	},
	// 监听 - 页面【首次渲染完成时】执行。注意如果渲染速度快，会在页面进入动画完成前触发
	onReady() {},
	// 监听 - 页面每次【显示时】执行(如：前进和返回) (页面每次出现在屏幕上都触发，包括从下级页面点返回露出当前页面)
	onShow() {},
	// 监听 - 页面每次【隐藏时】执行(如：返回)
	onHide() {},
	// 函数
	methods: {
		// 页面数据初始化函数
		init(options) {

		},
		// 页面跳转
		pageTo(path) {
			vk.navigateTo(path);
		}
	},
	// 计算属性
	computed: {}
};
</script>
<style lang="scss" scoped></style>
